package com.ys.otms.services;

import net.sf.json.JSONObject;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface ITransportPlanServices {

    JSONObject queryTransportPlan(HttpServletRequest request, JSONObject obj) throws Exception;
    JSONObject queryTransportPlanDetails(HttpServletRequest request) throws Exception;
    JSONObject addTransportPlan(HttpServletRequest request) throws Exception;
    JSONObject editTransportPlan(HttpServletRequest request) throws Exception;
//    JSONObject startTransportPlan(HttpServletRequest request) throws Exception;
//    JSONObject endTransportPlan(HttpServletRequest request) throws Exception;
    JSONObject stopTransportPlan(HttpServletRequest request) throws Exception;
    JSONObject restoreTransportPlan(HttpServletRequest request) throws Exception;
    JSONObject addTransportPlanClass(HttpServletRequest request) throws Exception;
    JSONObject editTransportPlanClass(HttpServletRequest request) throws Exception;
    JSONObject queryTransportPlanClass(HttpServletRequest request);
    JSONObject addPlanToTransportPlanClass(HttpServletRequest request) throws Exception;
    JSONObject deleteTransportPlanClass(HttpServletRequest request) throws Exception;
    JSONObject addTransportPlanShip(HttpServletRequest request) throws Exception;
    JSONObject deleteTransportPlanShip(HttpServletRequest request) throws Exception;
    JSONObject editSchedule(HttpServletRequest request) throws Exception;
    JSONObject queryPlanShip(HttpServletRequest request) throws Exception;
    JSONObject queryPlanShipShipSchedule(HttpServletRequest request) throws Exception;


    JSONObject queryAvShip(HttpServletRequest request) throws Exception;

    void exportTransportExcel(HttpServletRequest request, HttpServletResponse response, JSONObject obj) throws IOException;
}
